/*
 * move.h
 *
 *  Created on: Mar 30, 2013
 *      Author: locpx
 */
#include "defines.h"

#ifndef MOVE_H_
#define MOVE_H_

void setFrom(MOVE* m_move, unsigned int m_from);
void setTosq(MOVE* m_move, unsigned int m_tosq);
void setPiec(MOVE* m_move, unsigned int m_piec);
void setCapt(MOVE* m_move, unsigned int m_capt);

unsigned int getFrom(MOVE m_move);
unsigned int getTosq(MOVE m_move);
unsigned int getPiec(MOVE m_move);
unsigned int getCapt(MOVE m_move);

void clear(MOVE* m_move);

#endif /* MOVE_H_ */
